package com.wunong.smart.collection.domain.service;

import com.wunong.smart.collection.application.request.CancelCollectionRequest;
import com.wunong.smart.collection.application.request.CollectRequest;

/**
 * 收藏领域服务
 *
 * @author create by zealot.zt
 */
public interface CollectionDomainService {

    /**
     * 收藏
     *
     * @param request
     * @return
     */
    Long collect(CollectRequest request);

    /**
     * 取消收藏
     *
     * @param request
     * @return
     */
    Void cancel(CancelCollectionRequest request);

}
